<%@ page language="java" pageEncoding="UTF-8"
	errorPage="../../defaultException.jsp"%>
<%@include file="../../tags.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>添加目的地特色项信息</title>
<%@include file="../../head.jsp"%>
</head>
<body>
	<form id="fm" method="post" enctype="multipart/form-data">
		<table class="fitem">
			<tr>
				<td><label>中文标题: </label>
				</td>
				<td><input name="zhname" class="easyui-validatebox"
					data-options="required:true,validType:'length[0,64]'" /></td>
				<td><label>英文标题: </label>
				</td>
				<td><input name="enname" class="easyui-validatebox"
					data-options="required:true,validType:'length[0,128]'" /></td>
			</tr>
			<tr>
				<td><label>地址: </label>
				</td>
				<td><input name="address" class="easyui-validatebox"
					data-options="validType:'length[0,128]'" />
				</td>
				<td><label>电话: </label>
				</td>
				<td><input name="tel" class="easyui-validatebox"
					data-options="validType:'length[0,64]'" />
				</td>
			</tr>
			<tr>
				<td><label>价格: </label>
				</td>
				<td><input name="price" class="easyui-validatebox"
					data-options="validType:'length[0,32]'" />
				</td>
				<td><label>邮箱: </label>
				</td>
				<td><input name="email" class="easyui-validatebox"
					data-options="validType:'email'" />
				</td>
			</tr>
			<tr>
				<td><label>营业时间: </label>
				</td>
				<td><input name="openTime" class="easyui-validatebox"
					data-options="validType:'length[0,64]'" />
				</td>
				<td><label>提示: </label>
				</td>
				<td><input name="note" class="easyui-validatebox"
					data-options="validType:'length[0,64]'" />
				</td>
			</tr>
			<tr>
				<td><label>菜单: </label>
				</td>
				<td><input name="menu" class="easyui-validatebox"
					data-options="validType:'length[0,64]'" />
				</td>
				<td><label>特色项链接地址: </label>
				</td>
				<td><input name="url" class="easyui-validatebox"
					data-options="validType:'length[0,256]'" />
				</td>
			</tr>
			<tr>
				<td><label>纬度: </label>
				</td>
				<td><input name="lat" class="easyui-validatebox"
					validType="numberbox" />
				</td>
				<td><label>经度: </label>
				</td>
				<td><input name="lng" class="easyui-validatebox"
					validType="numberbox" />
				</td>
			</tr>

			<tr>
				<td><label>停留时长: </label>
				</td>
				<td><input name="stayTime" class="easyui-validatebox"
					validType="numberbox" />分</td>
				<td><label>属性是否可用:</label></td>
				<td><select name="propertyVisible">
						<option value="1" selected="selected">可用</option>
						<option value="0">不可用</option>
				</select></td>
			</tr>
			<tr>
				<td><label>版权所有：</label></td>
				<td><input name="copyright"  class="easyui-validatebox"
					data-options="validType:'length[0,64]'" ></td>
				<td><label>失效时间: </label>
				</td>
				<td><input name="expireTime" class="easyui-datetimebox" />
				</td>
			</tr>
			
			<tr>
				<td><label>特色项图片:</label>
				</td>
				<td><input name="imagepart" type="file"
					class="easyui-validatebox" required="true">
				</td>
			</tr>
			<tr>
				<td><label>特色项logo:</label>
				</td>
				<td><input name="logoFile" type="file"
					class="easyui-validatebox">
				</td>
			</tr>
			<tr>
				<td><label>描述摘要:</label>
				</td>
				<td colspan="3"><textarea name="summary"
						id="featureItemSummary" data-options="validType:'length[0,64]'"
						style="width: 392px; height: 80px" class="easyui-validatebox"></textarea>
				</td>
			</tr>
			<tr>
				<td><label>特色项描述:</label>
				</td>
				<td colspan="3"><textarea name="content" id="featureItemDesc"
						data-options="validType:'length[0,2048]'"
						style="width: 392px; height: 80px" class="easyui-validatebox"></textarea>
				</td>
			</tr>

		</table>


	</form>

	<script type="text/javascript">
		
		$('#featureItemDesc').ceditor();
		$('#featureItemSummary').ceditor();
	</script>
	<style type="text/css">
#fm {
	margin: 0;
	padding: 40px 40px;
}

.ftitle {
	font-size: 14px;
	font-weight: bold;
	padding: 5px 0;
	margin-bottom: 10px;
	border-bottom: 1px solid #ccc;
}

.fitem {
	margin-bottom: 5px;
}

.fitem label {
	display: inline-block;
	width: 95px;
}
</style>
</body>
</html>